package cn.ibizlab.odoo.core.odoo_survey.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_survey.domain.Survey_label;
import cn.ibizlab.odoo.core.odoo_survey.filter.Survey_labelSearchContext;

/**
 * 实体[Survey_label] 服务对象接口
 */

public interface ISurvey_labelService{
     boolean create(Survey_label survey_label) ;
     void updateBatch(List<Survey_label> survey_labels, int batchSize) ;
     boolean update(Survey_label survey_label) ;
     void createBatch(List<Survey_label> survey_labels, int batchSize) ;
     Survey_label get(Integer id) ;
     Survey_label get(Survey_label survey_label) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean remove(Integer id) ;

    /**
     * 查询集合 默认查询
     */
    Page<Survey_label> searchDefault(Survey_labelSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Survey_label> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Survey_label> selectByOdoo_write(Integer id) ;

    /**
     * 根据调查问题查询
     */
     Page<Survey_label> selectByOdoo_question(Integer id) ;

    /**
     * 根据调查问题查询
     */
     Page<Survey_label> selectByOdoo_question_id(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Survey_label convert2Domain(cn.ibizlab.odoo.core.client.model.Isurvey_label model ,Survey_label domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Isurvey_label convert2Model(Survey_label domain , cn.ibizlab.odoo.core.client.model.Isurvey_label model);

}
